import React from 'react';
import { connect } from 'react-redux';
import BaseComponent from '../../components/common/baseComponent.js';
import errIcon from '../../../assets/images/icon/err_guangxi.png';
import { setTitle } from '../../utils/wechat';

@connect()
class Exception extends BaseComponent {
  componentDidMount() {
    setTitle('出错啦');
  }
  render() {
    return (
      <div className="error-page">
        <img src={errIcon} className="icon" alt="" />
        <div className="title">对不起，您访问的页面{window.location.href}不存在</div>
      </div>
    );
  }
}

export default Exception;

